package com.ChenYaRou.www.po;

import java.time.LocalDateTime;

/**
 * @ClassName JsonBeanTicketUser
 * @Description TODO
 * @Author 86183
 * @Date 2022/5/5 0:05
 * @Version 1.0
 **/
public class JsonBeanTicketUser {
    private String ownerName;
    private String shopName;
    private String state;
    private LocalDateTime deadline;
    private Float discount;

    public JsonBeanTicketUser() {
    }

    public JsonBeanTicketUser(String ownerName, String shopName,
                              String state, LocalDateTime deadline, Float discount) {
        this.ownerName = ownerName;
        this.shopName = shopName;
        this.state = state;
        this.deadline = deadline;
        this.discount = discount;
    }

    @Override
    public String toString() {
        return "JsonBeanTicketUser{" +
                "ownerName='" + ownerName + '\'' +
                ", shopName='" + shopName + '\'' +
                ", state='" + state + '\'' +
                ", deadline=" + deadline +
                ", discount=" + discount +
                '}';
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public LocalDateTime getDeadline() {
        return deadline;
    }

    public void setDeadline(LocalDateTime deadline) {
        this.deadline = deadline;
    }

    public Float getDiscount() {
        return discount;
    }

    public void setDiscount(Float discount) {
        this.discount = discount;
    }
}
